package com.config;

import java.text.DecimalFormat;

public class ConstDefine {
	
	public static final DecimalFormat DF0 = new DecimalFormat("#0");
	public static final DecimalFormat DF1 = new DecimalFormat("#0.0");
	public static final DecimalFormat DF2 = new DecimalFormat("#0.00");
	public static DecimalFormat df_int =new   java.text.DecimalFormat("#"); 
	public static final String txkey="INVBZ-NHSWP-T5SDI-VQIOL-K2E45-UOB3W";//腾讯地图KEY
	public static final String cookiePath="carTreasure";
	public static final String user_salt="cartreasure123456";//用户密码加盐
	public static final String shop_salt="cartreasure654321";//商家密码加盐
	public static final String gaodeKey="bccbeab83c04aa97bdb1cdd14680e933";//高德KEY
	public static String getBaiduAK(){return "5lxyGi1FrhQdcKt6DboDU46q42Ag9bn8";}//百度AK
	
	
	//腾讯相关
	public static String getTxAppid(){return "wx29445a5af4fe9568";}//
	public static String getTxAppSecret(){return "f7b79835e0f5e58c8e50cab8882f0467";}//
	//微信支付信息
//	public static String getTxPartner(){return "1510142691";} //支付partner//珍爱商贸
//	public static String getTxPaternerKey(){return "56301d1efeb06c3abf90c6bbd67d07b6";}//支付密钥	//珍爱商贸
	public static String getTxPartner(){return "1551413411";} //支付partner//恭善堂
	public static String getTxPaternerKey(){return "0af2e2a4267db4f723a08508a4bfd25c";}//支付密钥	//恭善堂
	public static String getTxNotify_url_wx(){return  "http://www.zasp.vip/shop_gst/pay/getTxPayRes";}//接受支付返回地址	
	
	

	//阿里相关
//	public static String ossPath="https://carmarket.oss-cn-beijing.aliyuncs.com";//正式
	public static String ossPath="https://lawyerserver.oss-cn-beijing.aliyuncs.com";//测式，缩放图片?x-oss-process=image/resize,h_200
//	public static String ossPath="D:\\tools\\apache-tomcat-7.0.2\\webapps\\carMarketTest\\upload\\";//正试
//	public static String ossPath="D:/java/apache-tomcat-6.0.37_1/webapps/carMarket/upload";//测试
	public static String ossBuket="lawyerserver";
//	public static String ossBuket="mwgtest";//测试buket
	public static String ossEndpoint = "http://oss-cn-beijing.aliyuncs.com";
	public static String getAliAccessKeyId(){return "LTAIGM7nP8qqbz5w";}
	public static String getAliAccessKeySecret(){return "Kxqfpg11u9SBuy3L33LIC1YzXcJ74X";}

	
	
	//控制参数
	public static String getUrl404(){return "https://carmarket.oss-cn-beijing.aliyuncs.com/404.jpg";}//图片无法找到的连接
	public static String getServerAddr(){return "http://www.zasp.vip";}//获取服务的地址
	
	public static int getIftest(){return 1;}//是否是测试
	public static int getIflog(){return 0;}//是否把所有请求插日志
//	public static int getIfcheck(){return 0;}//是否是检测状态,如果事1，代表检测，隐藏功能菜单
	public static int getIfRedis(){return 1;}//是否使用Redis
	public static int getWashNum(){return 2;}//定义商店时间端内可以洗几辆车
	public static String getPwd(){return "888888";}//新用户默认密码
	public static double txPercent(){return 0.9;}//用户可以提现金额的百分比
	public static int getShopMinNum(){return 500;}//申请店铺所需要满足的盒数
	public static int getShopAmount1(){return 10;}//1级店铺将
	public static int getShopAmount2(){return 1;}//2级店铺将
	public static int getPointMin(){return 5;}//最少几盒赠送
	public static int getPointNum(){return 499;}//小组计数的满足金额
	public static int getTx200Time(){return 5;}//每天200元提现次数
	public static int getTx500Time(){return 10;}//每天500元提现次数
	public static double getTjPoint(){return 3;}//推荐赠送的积分百分比
	public static int getIfCheck(){return 0;}//当前是否为测试升级阶段
	public static String getShopName(){return "恭善堂";}//商城标题
	public static String getCheckUserid(){return "20211111181950676841#20220503203912664745#20220503204307623583#20220503204537843888#20220503204622113226#20220503222654424037#20220505085414643107";}//当前是否为测试升级阶段
	public static int getAdMonth(){return 200000000/24;}//每个月分的总艾豆，目前是2亿/24个月。
	
	public static final String INCOME_DIRECT="17";//输入来源-直推
	public static final String INCOME_LEVEL="14";//输入来源-极差
	public static final String INCOME_EQUAL="15";//输入来源-平级
	public static final String INCOME_AD="19";//输入来源-艾豆
	public static final String AD="18";//平台分配标识--艾豆
	public static final String COST_LQ="23";//平台消费标识--消费礼券
	
}
